package pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.proxy.staticProxy;
//静态代理，客户端只与代理打交道
public class client {
    public static void main(String [] args){
        RealStar realStar = new RealStar();
        ProxyStar proxyStar = new ProxyStar(realStar);
        proxyStar.confer();
        proxyStar.signContract();
        proxyStar.bookTicker();
        proxyStar.sing();
        proxyStar.collectMoney();
    }
}
//ProxyStar confer
//ProxyStar signContract
//ProxyStar bookTicker
//RealStar(周杰伦本人) sing
//ProxyStar collectMoney